package com.diandian.backend.product.resp;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.io.Serializable;
import java.util.Date;

public class ProductStockSummaryGetAllResp implements Serializable {

	private String type;
	private String onlineStoreCode; // 线上门店编码
	private String offlineStoreCode; // 线下门店编码
	private String productCode; // 商品编码
	private String skuCode; // SKU编码
	private Long curQty; // 可用库存：现在可以用于出售的库存数，可用库存 = 现货库存 - 预占库存 - 锁定库存
	private Long tranQty; // 在途库存
	private Long inQty; // 现货库存：现在商品的库存数
	private Long preQty; // 预占库存：当前业务因素导致需要暂时占用的库存数，暂时不能用于出售
	private Long lockQty; // 锁定库存
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
	private Date lastModificationTime; // 最新修改时间
	private String queryMessage; // 查询信息
	private String fixeMessage; // 修复信息
	private Boolean fixedFlag; // 修复标识，true 需要修复 false 不需要修复; 判断标准：以线下库存数据为准

	public String getOnlineStoreCode() {
		return onlineStoreCode;
	}

	public void setOnlineStoreCode(String onlineStoreCode) {
		this.onlineStoreCode = onlineStoreCode;
	}

	public String getOfflineStoreCode() {
		return offlineStoreCode;
	}

	public void setOfflineStoreCode(String offlineStoreCode) {
		this.offlineStoreCode = offlineStoreCode;
	}

	public String getSkuCode() {
		return skuCode;
	}

	public void setSkuCode(String skuCode) {
		this.skuCode = skuCode;
	}

	public String getProductCode() {
		return productCode;
	}

	public void setProductCode(String productCode) {
		this.productCode = productCode;
	}

	public Long getCurQty() {
		return curQty;
	}

	public void setCurQty(Long curQty) {
		this.curQty = curQty;
	}

	public Long getTranQty() {
		return tranQty;
	}

	public void setTranQty(Long tranQty) {
		this.tranQty = tranQty;
	}

	public Long getInQty() {
		return inQty;
	}

	public void setInQty(Long inQty) {
		this.inQty = inQty;
	}

	public Long getPreQty() {
		return preQty;
	}

	public void setPreQty(Long preQty) {
		this.preQty = preQty;
	}

	public Date getLastModificationTime() {
		return lastModificationTime;
	}

	public void setLastModificationTime(Date lastModificationTime) {
		this.lastModificationTime = lastModificationTime;
	}

	public Long getLockQty() {
		return lockQty;
	}

	public void setLockQty(Long lockQty) {
		this.lockQty = lockQty;
	}

	public String getQueryMessage() {
		return queryMessage;
	}

	public void setQueryMessage(String queryMessage) {
		this.queryMessage = queryMessage;
	}

	public String getFixeMessage() {
		return fixeMessage;
	}

	public void setFixeMessage(String fixeMessage) {
		this.fixeMessage = fixeMessage;
	}

	public Boolean getFixedFlag() {
		return fixedFlag;
	}

	public void setFixedFlag(Boolean fixedFlag) {
		this.fixedFlag = fixedFlag;
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}
}
